<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  User: zhouyanchao
  Date: 2017/10/19
--%>
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
	<base href="${BaseContext}">
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>添加用户演示</title>
</head>
<body>

<form method="post" action="user/add.action">
	登录名：<input type="text" name="user.loginName">
	密码：<input type="text" name="user.loginPwd">
	角色：<select name="user.roleModel.id">
			<c:forEach items="${roles}" var="role">
				<option value="${role.id}">${role.roleName}</option>
			</c:forEach>
			</select>

	<button value="">添加用户</button>
</form>

</body>
</html>
